#{extends 'main.html' /}
#{set title:'Home' /}

Lista de Items <br/>	
#{table clients, as: 'client', class: 'clients-table'}
	#{column 'Cliente'}
		${client.name}
	#{/column}
	#{column 'Bairro'}
		${client.neighborhood.name}
	#{/column}
	#{column ''}
		#{a @Clients.show(client.id)} Detalhes #{/a}
	#{/column}
	#{column ''}
		#{a @Clients.delete(client.id)} Excluir #{/a}
	#{/column}
	#{column ''}
		#{a @Clients.update(client.id)} Atualizar #{/a}<br/>
	#{/column}
#{/table}

#{a @Clients.create()} Criar Novo Client #{/a}